﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="chuku_edit.aspx.cs" Inherits="admin_chuku_chuku_edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>编辑出库</title>
    <link href="../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
    <link href="../images/style.css" rel="stylesheet" type="text/css" />
    <link href="../select/skins/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../scripts/jquery/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../scripts/jquery/jquery.form.js"></script>
    <script type="text/javascript" src="../scripts/jquery/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../scripts/jquery/messages_cn.js"></script>
    <script type="text/javascript" src="../scripts/ui/js/ligerBuild.min.js"></script>
    <script type="text/javascript" src="../datepicker/WdatePicker.js"></script>
    <script type="text/javascript" src="../js/function.js"></script>
    <script type="text/javascript" src="../select/js/select_split.js"></script>
</head>
<body class="mainbody">
<form id="frmform" runat="server">
<div class="navigation"><a href="javascript:history.go(-1);" class="back">后退</a>首页 &gt; 系统信息管理 &gt; 入库管理</div>
<div id="contentTab">
    <ul class="tab_nav">
        <li class="selected"><a onclick="tabs('#contentTab',0);" href="javascript:;">编辑入库信息</a></li>
    </ul>
    <div class="tab_con" style="display:block;">
        <table class="form_table" style="border-bottom:0;">
            <col width="150px" />
            <tbody>        
            <tr>
                <th width="150px">报关单号：</th>
                <td width="400px"><asp:HiddenField ID="hidDeclaID" runat="server" Value="" />
                <asp:TextBox ID="txtDeclaID" runat="server" CssClass="txtInput normal2 required"></asp:TextBox><label>*</label></td>
                 <th width="150px">报关行名称：</th>
                <td width="400px"><%=model.customs_broker %></td>  
                             
            </tr>
             <tr>
                <th>入库时间：</th>
                 <td><%=Convert.ToDateTime(model.ruku_time).ToString("yyyy-MM-dd HH:mm")%></td>
                 <th>入库仓库：</th>
                <td><%=model.ruku_storage%></td>             
            </tr>
             <tr>
                <th>入库方式：</th>
                <td><%=model.ruku_way %></td>
                 <th>客户：</th>
                <td><%=model.customer %></td>             
            </tr>
             <tr>
                <th>出库时间：</th>        
                <td><asp:Label ID="lblChukuTime" runat="server" Text="Label"></asp:Label></td>
                <th>出库方式：</th>               
                <td><select id="ddlChukuWay" runat="server" autowidth="true"></select></td>        
            </tr>
            <tr>
                <th>出库仓库：</th>
                <td><asp:Label ID="lblChukuStorage" runat="server"  Text="Label"></asp:Label></td>
                 <th>经办人：</th>                
                <td><asp:Label ID="lblTransactor" runat="server"  Text="Label"></asp:Label></td>     
            </tr>          
            </tbody>
        </table>
     <!--列表展示.结束-->
    </div>   
        <!--库位信息-->
        <asp:Repeater ID="rptKuWei" runat="server">
        <HeaderTemplate>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="order_table" style="border-bottom:0;" >
          <tr>
            <th align="left">仓库号</th>
            <th width="12%" align="left">货架号</th>
            <th width="12%" align="left">层号</th>
            <th width="10%" align="left">列号</th>
          </tr>
          </HeaderTemplate>
          <ItemTemplate>
          <tr>
            <td><%#Eval("storage_id")%></td>
            <td><%#Eval("shelf_id")%></td>
            <td><%#Eval("floor_id")%></td>
            <td><%#Eval("line_id")%></td>
          </tr>
          </ItemTemplate>
          <FooterTemplate>
            <%#rptList.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"5\">暂无记录</td></tr>" : ""%>
          </table>
         </FooterTemplate>
         </asp:Repeater>
         <!--货物信息-->
        <asp:Repeater ID="rptList" runat="server">
        <HeaderTemplate>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="order_table" >
          <tr>
            <th align="left">货物名称</th>
            <th width="12%" align="left">件数</th>
            <th width="12%" align="left">体积（m³）</th>
            <th width="10%" align="left">天数（天）</th>
            <th width="10%" align="left">单价（元）</th>
            <th width="12%" align="left">收费金额（元）</th>
           <%-- <th width="12%" align="left">积分合计</th>--%>
          </tr>
          </HeaderTemplate>
          <ItemTemplate>
          <tr>
            <td><%#Eval("goods_name")%></td>
            <td><%#Eval("num")%></td>
            <td><%#Eval("cube")%></td>
            <td><%#Eval("days")%></td>
            <td><%#new fcwms.DAL.dt_cost().GetCost()%></td>
            <td><%#Convert.ToDecimal(Convert.ToDecimal(Eval("cube")) * Convert.ToInt32(Eval("days")) * Convert.ToDecimal(new fcwms.DAL.dt_cost().GetCost())).ToString("0.00")%></td>
          </tr>
          </ItemTemplate>
          <FooterTemplate>
            <%#rptList.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"5\">暂无记录</td></tr>" : ""%>
          </table>
         </FooterTemplate>
         </asp:Repeater>
          <div class="line10"></div>
  <%--  <div class="foot_btn_box">
   <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btnblue" onclick="btnSubmit_Click"  />&nbsp;&nbsp;&nbsp;
   <input name="重置" type="reset" class="btnblue" value="重置" />&nbsp;&nbsp;&nbsp;
   <asp:Button ID="btnBack" runat="server" Text="返回列表" CssClass="btnblue" 
            onclick="btnBack_Click"   />
    </div>--%>
</div>
</form>
</body>
</html>
